<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../common/include/header.jsp" %>
<%-- 커뮤니티 삭제 할수 있는 양식 제공 --%>
<div width="980px">
<table border="0" cellpadding="0" cellspacing="0" width="980px">
	<tr>
		<td style="vertical-align: top;width: 180px;background-color: #fdb32a;">
			<%@ include file="adminmenu.jsp"%>
		</td>
		<td style="width: 800px; height: 500px;">
		<table style="width: 800;" cellpadding="0" cellspacing="0">
			<tr>
				<td style="width: 600px;text-align: center;">
<div style="width: 400px; height: 150px;border: 1px solid #fdb32a;padding-top: 50px;">
				<p>커뮤니티를 삭제하면 기존의 데이터들이 모두 사라집니다.</p>		
				<p>정말로 삭제 하시겠습니까?</p>
				<input type="button" value="삭제" onclick="del('<bean:write name="communityForm" property="cono"/>')" style="font-size: 8pt;border: 1px solid #999999;background: #999999;color: #ffffff;width: 100px;height: 20px;"/>
				<input type="button" value="취소" onclick="cancel('<bean:write name="communityForm" property="cono"/>')" style="font-size: 8pt;border: 1px solid #999999;background: #999999;color: #ffffff;width: 100px;height: 20px;">
</div>				
				
				</td>
				<td style="width: 200px;height: 500px;"><img src="<%=imagePath %>commadmin_info_04.jpg" border="0"/>
			</tr>
		</table>
		</td>
	</tr>
</table>
<script type="text/javascript">
<!--
	function del(cono){
		var result = confirm("정말로 삭제하시겠습니까?");
		if(result){
			location.href='<%=path%>/community/communityinfo.do?method=delComm&cono='+cono;
		}else{
			location.href='<%=path%>/community/communityinfo.do?method=adminMain&cono='+cono;
		}
	}
	
	function cancel(cono){
		location.href='<%=path%>/community/communityinfo.do?method=adminMain&cono='+cono;
	}	
//-->
</script>
</div>
<%@ include file="../common/include/footer.jsp" %>